.find-your-container {
    height: 469px;
}

.initial-container,
.find-your-container {
    width: 440px;
    max-width: 440px;
    position: relative;
    margin: 100px auto;
    background-color: rgba(245, 242, 236, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(65, 54, 45, 0.14);
    transition: height 0.3s ease;
}

.initial-container {
    height: 408px;
}

/* ---------- Language Dropdown ---------- */
.language-dropdown,
.language-dropdown-p {
    top: 20px;
    left: 23px;
    width: 89.5%;
}

.bg-color-grey {
    background-color: #F5F2EC;
}

/* ---------- Welcome Select (Language Selector) ---------- */
.welcome-select {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    height: 36px !important;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 10px !important;
    background: #F5F2EC !important;
    border: 1px solid rgba(65, 54, 45, 0.18) !important;
    color: #2F2F2F !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.welcome-select:focus {
    border-color: rgba(65, 54, 45, 0.35) !important;
    box-shadow: 0 0 0 2px rgba(65, 54, 45, 0.08) !important;
}

/* ---------- Welcome Dropdown Wrapper ---------- */
.welcome-dropdown {
    text-align: right;
    position: absolute;
    box-sizing: border-box;
    overflow: visible;
}

.welcome-dropdown2 {
    text-align: right;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(65, 54, 45, 0.18);
    border-radius: 10px;
}

/* ---------- Find-Your Link ---------- */
.find-your-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    bottom: 2.4px;
    height: 27px !important;
    padding: 0 7px;
    box-sizing: border-box;
    border-radius: 10px;
    color: #fff;
}

/* ---------- Search Box ---------- */
.find-your-search-box {
    transform: translateX(100%);
    opacity: 0;
    bottom: 2.7px;
    display: flex;
    border: 1px solid rgba(65, 54, 45, 0.18);
    border-radius: 10px;
    background-color: #F5F2EC;
    overflow: hidden;
}

.find-your-search-box[style*="display: flex"] {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
    animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.find-your-search-box input[type="text"] {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #2E2B28;
    padding: 0 10px;
}

.find-your-search-box button {
    background-color: #5A63C8;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 14px;
    transition: background-color 0.2s ease;
}

.find-your-search-box button:hover {
    background-color: #4D78C7;
}

.find-your-search-box button i {
    margin: 0;
    color: #fff;
}

.post-your-text, .initial-text {
    left: 20px;
}

.find-your-text, .post-your-text, .initial-text {
    /* Use the language-specific size provided by JS; default to 117.5px (English desktop) */
    font-size: var(--lang-font-size, 110px);
    position: absolute;
    top: 70px;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
}

.find-your-text{
    width: 400px;
    max-width: 400px;
    height: 205px;
    max-height: 232px;
}

.initial-text, .post-your-text{
    width: 400px;
    height: 232px;
    max-height: 232px;
}

.find-your-multicolor-text, .post-your-multicolor-text, .initial-multicolor-text {    
    display: inline-block;
    width: 100%;
    height: 100%;
    letter-spacing: 0;
}

.find-your-multicolor-text span,
.post-your-multicolor-text span {
    display: inline;
    line-height: inherit;
}

/* ---------- Dots ---------- */
.find-your-dots {
    position: absolute;
    bottom: 116px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 78px;
}

.find-your-dots div {
    width: 14px;
    height: 14px;
    background-color: rgba(65, 54, 45, 0.35);
    border-radius: 50%;
}

/* =====================================================
   FIND / POST BUTTONS — PREMIUM TACTILE SYSTEM
   ===================================================== */

.find-your-post-wrapper {
    /* Font loaded via Google Fonts in <head> */
    font-family: 'Space Grotesk', 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: var(--lang-font-size, 110px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);

    position: relative;
    padding: 6px 6px 0 0;
    margin: 78px 1px 20px 1px;
    border-radius: 12px;

    /* Warm off-white tactile plate */
    background: linear-gradient(180deg, #FAF8F4 0%, #ECE7DE 100%);
    border: 1px solid rgba(65, 54, 45, 0.18);

    /* Soft inner top highlight */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 3px 10px rgba(0, 0, 0, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.10);

    color: #2E2B28;
    cursor: pointer;
    transition:
        box-shadow 0.22s ease,
        transform 0.18s ease,
        background 0.18s ease;
    user-select: none;
    height: 106px;
    max-width: 398px;
    white-space: nowrap;
    align-content: center;
    overflow: hidden;
}

.find-wrapper,
.post-wrapper {
    font-family: 'Space Grotesk', 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: var(--lang-font-size, 110px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);

    position: relative;
    padding: 6px 6px 0 0;
    margin: 0 1px 20px 1px;
    border-radius: 12px;

    /* Warm off-white tactile plate */
    background: linear-gradient(180deg, #FAF8F4 0%, #ECE7DE 100%);
    border: 1px solid rgba(65, 54, 45, 0.18);

    /* Soft inner top highlight */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 3px 10px rgba(0, 0, 0, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.10);

    color: #2E2B28;
    cursor: pointer;
    transition:
        box-shadow 0.22s ease,
        transform 0.18s ease,
        background 0.18s ease;
    user-select: none;
    height: 106px;
    max-width: 100%;
    white-space: nowrap;
    align-content: center;
    overflow: hidden;
}

/* --- Hover: lift + deepen shadow --- */
.find-wrapper:hover,
.post-wrapper:hover,
.find-your-post-wrapper:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 5px 14px rgba(0, 0, 0, 0.18),
        0 14px 28px rgba(0, 0, 0, 0.12);
}

/* --- Active / Pressed: push down --- */
.find-wrapper.active,
.post-wrapper.active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #EDE9E2 0%, #E0D9CE 100%);
    box-shadow:
        inset 0 2px 4px rgba(65, 54, 45, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.14);
}

/* Hide-Show Image Wrappers */
.initialHideShowImage,
.findHideShowImage,
.postHideShowImage {
    position: absolute;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.initialHideShowImage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 40px);
    margin-top: 310px;
    margin-left: 23px;
}

.findHideShowImage {
    bottom: 10px;
}

.postHideShowImage {
    margin-left: 18px !important;
    bottom: 8px;
}

/* Icon strip row */
.HideShowImages {
    display: flex;
    justify-content: space-between;
}

/* ---------- Bottom Right Attribution Text ---------- */
.bottom-right-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    padding: 5px 5px;
    color: #444;
    line-height: 1.4;
}

/* ---------- Select Category Dropdown ---------- */
.select-category-dropdown {
    bottom: 44px;
    width: 100%;
}

/* ---------- Validation Popup ---------- */
.search-validation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.search-validation-content {
    background: linear-gradient(180deg, #FAF8F4 0%, #F0EBE3 100%);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(65, 54, 45, 0.18);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.10);
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: 'Inter', sans-serif;
}

.search-validation-message {
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2E2B28;
    line-height: 1.45;
}

.search-validation-ok-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 1.2rem;
    background-color: #3F6FA8;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.search-validation-ok-btn:hover {
    background-color: #355e90;
    transform: translateY(-1px);
}

.search-validation-ok-btn:active {
    transform: translateY(1px);
}

.search-validation-overlay-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    padding-top: 50px;
}

.search-validation-ok-btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

@media (max-width: 768px) {
    .find-your-container, .initial-container {
        width: 100%;
    }
    /* .find-your-container {
        height: 428px;
    }
    .initial-container {
        height: 348px;
    } */
    .find-your-text, .initial-text {
        width: 90%;
    }
    .post-your-text {
        width: 90%;
    }
    .remaining-content {
        margin: 0 0 0 2.4%;
    }
    #about_icon{
        width: 14% !important;
    }

    #spinning_globe{
        width: 23% !important;
    }

    #d_img {
        width: 25% !important;
        height: 80px !important;
    }

    #sos_img {
        width: 20% !important;
        height: 80px !important;
    }

    .initialHideShowImage{
        margin-left: 0;
    }

    .findHideShowImage{
        margin-left: 0;
        bottom: 17px;
    }

    .postHideShowImage{
        margin-left: 5%;
    }
    .initialHideShowImage, .findHideShowImage, .postHideShowImage {
        height: 80px;
    }
    .language-dropdown , .language-dropdown-p {
        left: 5.9%;
        width: 88.5%;
    }
    .post-your-text, .initial-text {
        left: 5%;
    }
    .bottom-right-text{
        font-size: 8px;
    }
}


@media (max-width: 374px) {
    .find-your-text, .post-your-text, .initial-text {
        /* diff - 95px when was 116*/
        font-size: calc(var(--lang-font-size, 110px) - 28px);
    }
}

@media (min-width: 375px) {
    .find-your-text, .post-your-text,.initial-text {
        /* diff - 104 */
        font-size: calc(var(--lang-font-size, 110px) - 22px);
    }
}

@media (min-width: 380px) {
    .find-your-text, .post-your-text, .initial-text {
        /* diff - 107 */
        font-size: calc(var(--lang-font-size, 110px) - 16px);
    }
}

@media (min-width: 400px) and (max-width: 767px){
    .find-your-text, .post-your-text, .initial-text {
        /* diff - 115 */
        font-size: calc(var(--lang-font-size, 110px) - 12px);
    }
}

@media (min-width: 768px){
    .find-your-text, .post-your-text, .initial-text {
        /* base */
        font-size: var(--lang-font-size, 110px);
    }
}
